package com.ldy.gen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 通知信息表
 * </p>
 *
 * @author ldy
 * @since 2023-09-29 15:02:29
 */
@Getter
@Setter
@TableName("notice_info")
@ApiModel(value = "NoticeInfo对象", description = "通知信息表")
public class NoticeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("管理员ID")
    @TableField("admin_user_id")
    private Long adminUserId;

    @ApiModelProperty("通知的类型")
    @TableField("notice_type_id")
    private Integer noticeTypeId;

    @ApiModelProperty("通知级别，0=消息，1=公告，2=重要， 3=严重")
    @TableField("level")
    private Boolean level;

    @ApiModelProperty("通知的对象")
    @TableField("notice_obj")
    private String noticeObj;

    @ApiModelProperty("通知的内容")
    @TableField("content")
    private String content;

    @ApiModelProperty("通知的图片组")
    @TableField("img_urls")
    private String imgUrls;

    @ApiModelProperty("数据创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("数据最后修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("数据创建者")
    @TableField("creator")
    private String creator;

    @ApiModelProperty("数据更新者")
    @TableField("updater")
    private String updater;


}
